package io.wdb.modules.generator.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.wdb.modules.generator.generator.dao.VipMemberDao;
import io.wdb.modules.generator.generator.entity.VipMemberEntity;
import io.wdb.modules.generator.generator.service.VipMemberService;



@Service("vipMemberService")
public class VipMemberServiceImpl implements VipMemberService {
	@Autowired
	private VipMemberDao vipMemberDao;
	
	@Override
	public VipMemberEntity queryObject(Long id){
		return vipMemberDao.queryObject(id);
	}
	
	@Override
	public List<VipMemberEntity> queryList(Map<String, Object> map){
		return vipMemberDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return vipMemberDao.queryTotal(map);
	}
	
	@Override
	public void save(VipMemberEntity vipMember){
		vipMemberDao.save(vipMember);
	}
	
	@Override
	public void update(VipMemberEntity vipMember){
		vipMemberDao.update(vipMember);
	}
	
	@Override
	public void delete(Long id){
		vipMemberDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		vipMemberDao.deleteBatch(ids);
	}
	
}
